<!--
 * @Description: 选择器基础组件
 * @Version: 0.0.1
 * @Autor: zhj1214
 * @Date: 2021-06-02 16:07:24
 * @LastEditors: zhj1214
 * @LastEditTime: 2021-06-04 14:11:23
-->
<template>
  <div class="view">
    <i-select
      v-model="componentData.model"
      :style="componentData.componentsStyle"
      v-bind="attrsCopy"
      v-on="$listeners"
      
    >
      <Avatar :src="componentData.prefix" slot="prefix" size="small" />
      <Option
        v-for="item in componentData.selectList"
        :value="item.value"
        :label="item.label"
        :key="item.value"
        :disabled="item.disabled"
        >{{ item.label }}</Option
      >
    </i-select>
  </div>
</template>

<script>
import formMixin from "./formMixins";
export default {
  name:'formSelect',
  props: {
    type: String
  },
  mixins: [formMixin]
};
</script>

<style></style>
